#!/usr/bin/env python
# -*- coding:utf8 -*-

# cars = ["audi", "bmw", "subaru", "toyota"]
#
# for car in cars:
#     if car == "bmw":
#         print(car.upper())
#     else:
#         print(car.title())
#
# age = 12
# if age < 4:
#     price = 0
# elif age < 18:
#     price  = 5
# else:
#     price = 10
# print("门票为%d"%price)

# alien_color = "green"
# if alien_color == "green":
#     print("alien`s color is green")

# age = input("please input your age:\n")

# if int(age) < 2:
#     print("婴儿")
# elif int(age) < 4:
#     print("儿童")
# elif int(age) < 13:
#     print("少年")
# elif int(age) < 18:
#     print("青年")
# elif int(age) < 65:
#     print("成年")
# else:
#     print("老年")


user_name = ["admin", "tangwenhu", "xizhonghuai", "lianghonghao"]
# my_name = input("please input your name\n")
#
# if my_name:
#     if my_name in user_name:
#         if(my_name == "admin"):
#             print("Hello adnim,would you like to see a status report?")
#         else:
#             print("Hello {0},thank you for logging in again".format(my_name))
#     else:
#         print("you are not regester")
# else:
#     print("please input right name")

# user_name.clear()
# print(user_name)


current_user = ["gongzhi", "penghongwei", "guomaohe", "chenji"]
new_user = ["new1", "penghongwei"]

for user in new_user:
    if user.lower() in current_user:
        print("%s is used"%user)
    else:
        print("%s can be use"%user)